import http from '@/utils/http'

export const login = (data) => http({
	url:'login',
	method:'post',
	data:data
})

export const regUser = (data) => http({
	url:'regUser',
	method:'post',
	data:data
})

export const regAdmin = (data) => http({
	url:'regAdmin',
	method:'post',
	data:data
})

export const authorize = (data) => http({
	url:'authorize',
	method:'post',
	data:data
})

export const getCompnayInfo = (data) => http({
	url:'getCompnayInfo',
	method:'post',
	data:data
})

export const getUserInfo = (data) => http({
	url:'getUserInfo',
	method:'post',
	data:data
})


export const getReport = (data) => http({
 url:'getReport?cid='+data,
 method:'get',
 data:data
})


